<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String tbname = request.getParameter("tbname");
String path = request.getContextPath();
%>
<!--  <input id='btton_new' onclick='btnAdd_new("<%=tbname%>")' type="button" value="New" >-->
&nbsp;&nbsp;<input type="image" onclick='btnAdd_new("<%=tbname%>")' src="<%=path %>/xfdb/images/add.png"  width=26 height=26  id='btton_new'>&nbsp;&nbsp;			

<script>
/*
$('#btton_new').button({ 
	icons: {
	primary: "ui-icon-circle-plus"
}
});*/

function btnAdd_new(tbname){
	var table_ = document.getElementById(tbname);
	AddDefaultTr(table_.rows.length,table_.id);
	GridEditor.EditTables(table_);
}

function ShowOrDisableBtn(isshow){
	if(isshow)document.getElementById("btton_new").style.display="none";
	else document.getElementById("btton_new").style.display="";
}
</script>